/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2022-04-22
 * Time: 20:30
 */
public class MonthWorker extends  Employee{
    public MonthWorker(String name, double wages) {
        super(name, wages);
    }

    @Override
    public double earnings() {

        return super.wages;
    }
}
